package yhao.infra.feature.dubbo.api;

/**
 * Created by yoara on 2017/12/19.
 */
public class DubboResultException extends RuntimeException {
    private String code;

    public DubboResultException(String message) {
        this(message,null);
    }

    public DubboResultException(String message, String code) {
        super(message);
        this.code = code;
    }

    public String getCode() {
        return code;
    }

}